/**
 * Created by Administrator on 17.8.7.
 */
var system = require('system'),
    env = system.env,
    key;

for (key in env) {
    if (env.hasOwnProperty(key)) {
        console.log(key + '=' + env[key]);
    }
}
phantom.exit();


// output
/**
 =::=::\
 ACLOCAL_PATH=C:\Program Files\Git\mingw64\share\aclocal;C:\Program Files\Git\usr\share\aclocal
 ALLUSERSPROFILE=C:\ProgramData
 APPDATA=C:\Users\Administrator\AppData\Roaming
 CLASSPATH=C:\Program Files\Java\jdk1.8.0_121\lib\dt.jar;C:\Program Files\Java\jdk1.8.0_121\lib\tools.jar;
 COMMONPROGRAMFILES=C:\Program Files (x86)\Common Files
 COMPUTERNAME=JF79GT85Z9448MQ
 COMSPEC=C:\Windows\system32\cmd.exe
 CONFIG_SITE=C:/Program Files/Git/mingw64/etc/config.site
 CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
 CommonProgramW6432=C:\Program Files\Common Files
 DISPLAY=needs-to-be-defined
 EXEPATH=C:\Program Files\Git
 FP_NO_HOST_CHECK=NO
 HOME=C:\Users\Administrator
 HOMEDRIVE=C:
 HOMEPATH=\Users\Administrator
 HOSTNAME=JF79GT85Z9448MQ
 INFOPATH=C:\Program Files\Git\usr\local\info;C:\Program Files\Git\usr\share\info;C:\Program Files\Git\usr\info;C:\Program Files\Git\share\info
 JAVA_HOME=C:\Program Files\Java\jdk1.8.0_121
 LANG=zh_CN.UTF-8@cjknarrow
 LOCALAPPDATA=C:\Users\Administrator\AppData\Local
 LOGONSERVER=\\JF79GT85Z9448MQ
 MANPATH=C:\Program Files\Git\mingw64\share\man;C:\Program Files\Git\usr\local\man;C:\Program Files\Git\usr\share\man;C:\Program Files\Git\usr\man;C:\Program Files\Git\share\man
 MINGW_CHOST=x86_64-w64-mingw32
 MINGW_PACKAGE_PREFIX=mingw-w64-x86_64
 MINGW_PREFIX=C:/Program Files/Git/mingw64
 MSYSTEM=MINGW64
 MSYSTEM_CARCH=x86_64
 MSYSTEM_CHOST=x86_64-w64-mingw32
 MSYSTEM_PREFIX=C:/Program Files/Git/mingw64
 NUMBER_OF_PROCESSORS=8
 OLDPWD=D:/phpStudy/node/phantomjs_example
 ORIGINAL_PATH=C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\Administrator\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\ImageMagick-7.0.1-Q16;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Git\cmd;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Redis;D:\phpStudy\php\php-7.0.12-nts;C:\Program Files\nodejs;C:\Program Files (x86)\Yarn\bin;.;C:\Program Files\Java\jdk1.8.0_121\bin;C:\Users\Administrator\bin\Sencha\Cmd;C:\Users\Administrator\AppData\Roaming\npm;C:\Program Files (x86)\Microsoft VS Code\bin;C:\Users\Administrator\AppData\Local\Yarn\bin;D:\phantomjs\bin
 ORIGINAL_TEMP=C:/Windows/TEMP
 ORIGINAL_TMP=C:/Windows/TEMP
 OS=Windows_NT
 PATH=C:\Users\Administrator\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\local\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\Administrator\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\ImageMagick-7.0.1-Q16;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Git\cmd;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Redis;D:\phpStudy\php\php-7.0.12-nts;C:\Program Files\nodejs;C:\Program Files (x86)\Yarn\bin;.;C:\Program Files\Java\jdk1.8.0_121\bin;C:\Users\Administrator\bin\Sencha\Cmd;C:\Users\Administrator\AppData\Roaming\npm;C:\Program Files (x86)\Microsoft VS Code\bin;C:\Users\Administrator\AppData\Local\Yarn\bin;D:\phantomjs\bin;C:\Program Files\Git\usr\bin\vendor_perl;C:\Program Files\Git\usr\bin\core_perl
 PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
 PHP_HOME=D:\phpStudy\php\php-5.5.38\php;
 PKG_CONFIG_PATH=C:\Program Files\Git\mingw64\lib\pkgconfig;C:\Program Files\Git\mingw64\share\pkgconfig
 PLINK_PROTOCOL=ssh
 PRINTER=HP OfficeJet 7510 series (网络)
 PROCESSOR_ARCHITECTURE=x86
 PROCESSOR_ARCHITEW6432=AMD64
 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
 PROCESSOR_LEVEL=6
 PROCESSOR_REVISION=3c03
 PROGRAMFILES=C:\Program Files (x86)
 PS1=\[\033]0;$TITLEPREFIX:${PWD//[^[:ascii:]]/?}\007\]\n\[\033[32m\]\u@\h \[\033[35m\]$MSYSTEM \[\033[33m\]\w\[\033[36m\]`__git_ps1`\[\033[0m\]\n$
 PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
 PUBLIC=C:\Users\Public
 PWD=D:/phpStudy/node/phantomjs_example/cli
 ProgramData=C:\ProgramData
 ProgramFiles(x86)=C:\Program Files (x86)
 ProgramW6432=C:\Program Files
 SESSIONNAME=Console
 SHELL=C:\Program Files\Git\usr\bin\bash
 SHLVL=1
 SSH_ASKPASS=C:/Program Files/Git/mingw64/libexec/git-core/git-gui--askpass
 SYSTEMDRIVE=C:
 SYSTEMROOT=C:\Windows
 TEMP=C:\Windows\TEMP
 TERM=xterm
 TMP=C:\Windows\TEMP
 TMPDIR=C:\Windows\TEMP
 USERDOMAIN=JF79GT85Z9448MQ
 USERNAME=Administrator
 USERPROFILE=C:\Users\Administrator
 WINDIR=C:\Windows
 _=D:/phantomjs/bin/phantomjs
 _DFX_INSTALL_UNSIGNED_DRIVER=1
 windows_tracing_flags=3
 windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log





 */
